<%@ page language="java" contentType="text/html; charset=UTF-8"
	isELIgnored="false" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<%@ taglib uri="/mytag" prefix="yjd"%>
<script	src="${requestScope.FPWEB.staticRootPath }/Js/Plugins/Echarts/echarts.min.js"></script>
<div class="wrap">
	<%@include  file="/WEB-INF/jsp/age/register.jsp"%>
	<%@include  file="/WEB-INF/jsp/age/recharge.jsp"%>
	<%@include  file="/WEB-INF/jsp/age/invest.jsp"%>
	
	<script>
		YJD.use('AppAdminCommon');
		YJD.use('AppBICommon');
		var form=$("#sumary");
		$("#search").click(function(){
			addCompareData();
		});
		function addCompareData() {
			$.ajax({
			type: "post",
			url: form.attr("action"),
			data: form.serializeArray(), // 你的formid
			error: function(request) {
				alert("连接失败！");
			},
			success: function(data) {
				if (data.state == 1) {
					var cbox=$("#cbox");
					var boxes=cbox.find(".c-box");
					boxes.each(function(index,e){
						var val=$(this).find('span[name=number]');
						val.text(data.data.summaryVals[index]);
					});
				}
			}
		});
		}
		addCompareData() ;
	</script>
</div>